#计算每个班级学生总成绩
#计算每个班级的总成绩
score = [[99,89,79,69],[98,88,78,68,58],[97,87,77]]
i = 1
for a in score:
    zonghe = 0
    for s in a:
        zonghe = zonghe + s
    print("%d班的成绩为%d"%(i,zonghe))
    i += 1
